package com.zhh.pojo;



import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 物资实体类
 * 包括
 */
@Table(name = "tb_facility")
@Entity
public class TbFacility extends BaseEntity{
    @Id
    private int id;

    private String selfcode;
    private String suid;
    private String item;
    private Integer type;
    private Integer state  = 0;
    private Integer cooldown  = 0;
    private String itemNo;


    @Override
    public String toString() {
        return "TbFacility{" +
                "id=" + id +
                ", selfcode='" + selfcode + '\'' +
                ", suid='" + suid + '\'' +
                ", item='" + item + '\'' +
                ", type=" + type +
                ", state='" + state + '\'' +
                ", itemNo='" + itemNo + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSelfcode() {
        return selfcode;
    }

    public void setSelfcode(String selfcode) {
        this.selfcode = selfcode;
    }

    public String getSuid() {
        return suid;
    }

    public void setSuid(String suid) {
        this.suid = suid;
    }

    public String getItem() {
        return item;
    }

    public void setItem(String item) {
        this.item = item;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getCooldown() {
        return cooldown;
    }

    public void setCooldown(Integer cooldown) {
        this.cooldown = cooldown;
    }

    public String getItemNo() {
        return itemNo;
    }

    public void setItemNo(String itemNo) {
        this.itemNo = itemNo;
    }
}
